import coverApi  from "../../api/cover";
export default function getCode(obj){
  let vsiDescription =''
  coverApi.getCodeManage({
          commonPageDTO: { currentPage: 1, pageSize: 10 },
          condition: { tenantCode: 'IT_SHARE_DEVELOP', vsCode: obj.tableCode },
          pageNum: 1,
          pageSize: 10,
          sortDTO: { fieldName: '', orderBy: '' },
          tenantCode: 'IT_SHARE_DEVELOP',
          vsCode: obj.tableCode
        })
        .then(res => {
          vsiDescription = res.data.records[0].vsiDescription
        })
        return vsiDescription
}
